﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _例2._1_abc_CSharp
{
    class Program
    {
        static void Main(string[] args)
        {
			for (int a = 0; a <= 9; a++)
			{
				for (int b = 0; b <= 9; b++)
				{
					for (int c = 0; c <= 9; c++)
					{
						if (a * 100 + b * 110 + c * 12 == 532)
						{
							Console.WriteLine($"{a} {b} {c}");
						}
					}
				}
			}
			Console.ReadLine();
			return;
		}
    }
}
